package com.sp.scmdb.service;

import java.util.List;

import com.sp.scmdb.bean.DutyBean;
import com.sp.scmdb.bean.UserBean;
import com.sp.scmdb.entity.Duty;
import com.sp.scmdb.entity.DutyLevel;

public interface DutyService {

	List<Duty> queryAll();

	String newDuty(DutyBean t, UserBean user);

	String editDuty(DutyBean t, UserBean user);

	Duty findID(String depId);
	
	String delDuty(String []arr, UserBean user);
	
	List<DutyLevel> queryDutyLevelAll();
}
